﻿using System;
using System.Runtime.Serialization;
using KillBill.Business.Entities;
using KillBill.Services.DTO;

namespace KillBill.Common.Security
{
    [DataContract]
    public class Session : KillBillDTO 
    {
        public Session()
        {
            SessionId = Guid.NewGuid().ToString();
            DateTimeStarted = DateTime.Now;

        }
        [DataMember]
        public string SessionId { get; set; }
        [DataMember]
        public Employee Employee { get; set; }
        [DataMember]
        public DateTime DateTimeStarted { get; set; }
    }
}
